/**
 * Copyright (c) 2018, ShangHai HOWBUY INVESTMENT MANAGEMENT Co., Ltd.
 * All right reserved.
 * <p>
 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF HOWBUY INVESTMENT
 * MANAGEMENT CO., LTD.  THE CONTENTS OF THIS FILE MAY NOT BE DISCLOSED
 * TO THIRD PARTIES, COPIED OR DUPLICATED IN ANY FORM, IN WHOLE OR IN PART,
 * WITHOUT THE PRIOR WRITTEN PERMISSION OF HOWBUY INVESTMENT MANAGEMENT
 * CO., LTD.
 */
package com.howbuy.tms.web.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.howbuy.tms.web.service.TradeService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * 
 * @description:(TODO 请在此添加描述)
 * @reason:TODO ADD REASON(可选)
 * @author jixing.zhang
 * @date 2019年4月3日 上午11:19:22
 * @since JDK 1.6
 */
@RestController
@RequestMapping("/order")
public class OrderController {
    
    @Autowired
    TradeService  tradeService;

    /**
     * 获取订单服务的端口
     * @return
     */
    @GetMapping("/getOrderPort")
    public String getOrderPort() {
        return "tms-web-console call order-service port：" + tradeService.getOrderPort();
    }

}